package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.CarRefuelEntry;
import com.gljx.web.Entity.JournalEntry.CarExpenseDetailJournal;
import com.gljx.web.Entity.JournalEntry.lCarRefuelingJournal;

public interface CarRefuelEntryService {

	Double selCarRefuelBeginBalance(Map<String, Object> map);

	List<CarRefuelEntry> selCarRefuelEntry(Map<String, Object> map);

	Double selCarRefuelBeginBalances(Map<String, Object> map);
	
	List<CarRefuelEntry> selCarRefuelEntryByParentId(String parentid,String carNumber);
	
	/**
	 * g根据父类id删除驾校车辆加油登记明细
	 * @param parentId
	 * @return
	 */
	int deleteByParentId(String parentId);

    /**
     * @Author lcx
     * @Date 2017/12/19 0019 下午 1:24
     * 查询这段时间的本月领用
     */
    List<lCarRefuelingJournal> selectofMonthAscarRefuelEntry(Map map);

	/**
	 * @Author lcx
	 * @Date 2017/12/20 0020 下午 2:15
	 * 查询 车辆费用汇总表 燃油费等
	 */
	List<CarExpenseDetailJournal> selCarExpenseDetail(Map map, String state);
	
	/**
	 * @author zyq
	 * @param map3 查询条件
	 * @return
	 */
	List<CarRefuelEntry> selectCarRefuelEntryForJournal(Map<String, String> map3);
}
